import request from '@/utils/request'

/**
 * 申请建户信息删除
 * @param params
 * @returns {AxiosPromise}
 */
export function deleteMessageAply(params) {
  return request({
    url: '/hnm/hx/api/build/houses/apply/messageDelete',
    method: 'get',
    params
  })
}

/**
 * 建户申请（业务、客户提报）-分页查询接口
 * @param data
 * @returns {AxiosPromise}
 */
export function buildHousesApplyToPage(data) {
  return request({
    url: '/hnm/hx/api/build/houses/pageBuildHousesApply',
    method: 'post',
    data
  })
}

/**
 * 申请审批提交信息更新接口
 * @param data
 * @returns {AxiosPromise}
 */
export function updateHousesApplyMessage(data) {
  return request({
    url: '/hnm/hx/api/build/houses/apply',
    method: 'post',
    data
  })
}

